package com.neu.fenli2023623.mapper;

import com.neu.fenli2023623.dto.HospitalnavigationDto;

import com.neu.fenli2023623.entity.Hospitalnavigation;
import com.neu.fenli2023623.vo.HospitalnavigationVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author houjie
 * @description 针对表【hospitalNavigation(医院导航)】的数据库操作Mapper
 * @createDate 2023-07-07 13:47:44
 * @Entity com.neu.fenli2023623.entity.Hospitalnavigation
 */
@Mapper
public interface HospitalnavigationMapper {

    List<HospitalnavigationVo> selectall();//显示全部数据

    List<Hospitalnavigation> selectByName(String name);//查询

    int deleteByPrimaryKey(Long id);//根据id删除

    int insert(HospitalnavigationDto record);// 添加信息

    Hospitalnavigation selectByPrimaryKey(Long id);//通过id查
    int updateByPrimaryKey(HospitalnavigationDto record);//更新操作

}
